package com.learnyou.server.xingzuo.dto.paramDTO.pet;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class DevicePingParamDTO {
    @NotEmpty(message = "设备编号不能为空")
    @ApiModelProperty(value = "设备编号", required = true)
    private String deviceNo;
    @NotEmpty(message = "设备状态不能为空")
    @ApiModelProperty(value = "设备状态字段", required = true)
    private String status;
}
